package xyz.second.database.portal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审批表
 * </p>
 *
 * @author qjw
 * @since 2021-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("approval")
public class Approval implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 审批表编号
     */
    @TableId(value = "approval_id", type = IdType.AUTO)
    private Integer approvalId;

    /**
     * 审批结果
     */
    @TableField("approval_result")
    private String approvalResult;

    /**
     * 审批说明
     */
    @TableField("approval_Instruction")
    private String approvalInstruction;

    /**
     * 请假表id
     */
    @TableField("vocation_id")
    private Integer vocationId;

    /**
     * 审批老师id
     */
    @TableField("teacher_id")
    private Integer teacherId;


}
